#ifndef _SENSOR_CHECK_H_
#define _SENSOR_CHECK_H_

#include "stm32f10x.h"

extern uint16_t On_Cnt[11];	
extern uint16_t Off_Cnt[11]; 

uint16_t Switch_State2Sec(uint16_t *oncnt,uint16_t *offcnt,uint16_t ioin,uint16_t state);

void WakeUp_Ctrl(void);
void PQSwitch_Ctrl(void);
void Switch_Check(void);
#endif

